local f = torch.DiskFile('toydata.dat', 'r')
f:binary()
data = f:readObject():long()
cwdic = f:readObject() setmetatable(cwdic, Dict_mt)
wdic = f:readObject() setmetatable(wdic, Dict_mt)
cwemb = f:readObject()
wemb = f:readObject()
sampler_storage = f:readObject()
f:close()

